package com.example.dahua.decorator;

/**
 * @author: dangwen
 * @createDate: 2021/7/4
 * ConcreteComponent是最核心、最原始、最基本的接口或抽象类Component的实现，
 * 可以单独用，也可将其进行装饰，比如简单肉夹馍
 */
public class ConcreteComponent implements Component{
    @Override
    public void cost() {
        System.out.println("walk buy and pay!");
    }
}
